<!--
 * @Author: 陈迪秀 1170776994@qq.com
 * @Date: 2024-02-23 13:32:11
 * @LastEditors: 陈迪秀 1170776994@qq.com
 * @LastEditTime: 2024-02-26 11:43:16
 * @FilePath: \vite-project\src\components\footer.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="footer-view--gs">
    <div class="give-service">
      <div class="give-service__view" v-for="item in giveService">
        <img class="item-url" :src="item.icon" alt="" />
        <div>
          <h5 class="item-name">{{ item.name }}</h5>
          <p class="item-text">{{ item.text }}</p>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
import { giveService } from "./constants";
</script>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
}

.footer-view--gs {
  height: 113px;
}
.give-service {
  width: 1280px;
  height: 111px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .give-service__view {
    /* flex: 1; */
    height: 40px;
    display: flex;
    .item-url {
      height: 36px;
      width: 36px;
      margin-right: 4px;
    }
    .item-name {
      font-size: 16px;
      margin-bottom: 2px;
    }
    .item-text {
      font-size: 12px;
      color: #a8b1ba;
    }
  }
}
</style>
